<!--包含头部文件-->
{include file="public/header" /}
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 角色列表</nav>
<div class="page-container">

    <div class="cl pd-5 bg-1 bk-gray mt-20"><span class="l"> <a class="btn btn-primary radius"
                                                                onclick="o2o_s_edit('添加生活服务分类','{:url('role/add')}','','550')"
                                                                href="javascript:;"><i class="Hui-iconfont">&#xe600;</i> 添加分类</a></span>
        <span class="r"></span></div>
    <div class="mt-20">
        <table class="table table-border table-bordered table-bg table-hover table-sort">
            <thead>
            <tr class="text-c">
                <th width="80">ID</th>
                <th width="100">角色名称</th>
                <th width="30">拥有权限</th>
                <th width="150">控制器-方法</th>
                <th width="100">操作</th>
            </tr>
            </thead>
            <tbody>
            {volist name='roles' id='vo'}
            <tr class="text-c left_align" id="left_align">
                <td>{$vo['role_id']}</td>
                <td>{$vo.role_name}</td>
                <td>{$vo.ps_ids}</td>
                <td>{$vo.ps_ca}</td>
                <td class="td-manage">
                    <a style="text-decoration:none" class="ml-5"
                       onClick="o2o_s_edit('添加权限','{:url('role/add',['id'=>$vo->role_id])}')" href="javascript:;"
                       title="添加"><i class="Hui-iconfont">添加</i></a>
                    <a style="text-decoration:none" class="ml-5" onClick="" href="javascript:;" title="删除"><i
                            class="Hui-iconfont">&#xe6e2;</i></a></td>
            </tr>
            {/volist}
            </tbody>
        </table>
    </div>
</div>
<!--包含头部文件-->
{include file="public/footer" /}
